package com.shxt.hotel.util;
import java.util.Calendar;

public class Time{
    
    public static String getDate(){
        Calendar cal = Calendar.getInstance();
        return "" + cal.get(Calendar.YEAR) + "-" + (cal.get(Calendar.MONTH) + 1) + "-" + cal.get(Calendar.DAY_OF_MONTH);
    }
    
}